// uni-app自动化测试教程: uni-app自动化测试教程: https://uniapp.dcloud.net.cn/worktile/auto/hbuilderx-extension/
describe('MindTestPage', () => {

    let page;
    beforeAll(async () => {
        page =await program.navigateTo("/testPages/mindTest/mindTest");
    });
	
        it('测试页面成功打开', async () => {
			expect(await program.currentPage()).toBe(page)

        });

    
        it('应能选择一个选项并提交', async () => {
            const options = await page.$$('.radio-label');
            await options[1].tap(); 
    
            const submitButton = await page.$('.complete-btn');
            await submitButton.tap();
        });
});
